/**
 *
 */
package cn.com.carsmart.ws.service.impl;

import cn.com.carsmart.ws.ibatis.mapper.BaseMapper;
import cn.com.carsmart.ws.ibatis.mapper.DeviceSettingMapper;
import cn.com.carsmart.ws.model.DeviceSetting;
import cn.com.carsmart.ws.service.DeviceSettingManager;
import cn.com.carsmart.ws.service.impl.GenericBaseManager;

import com.google.inject.Inject;
import com.google.inject.name.Named;

/**
 *
 *
 */
public class DeviceSettingManagerImpl extends GenericBaseManager<DeviceSetting,Long> implements DeviceSettingManager {

    /**
     *
     */
    @Inject
    @SuppressWarnings({"rawtypes","unchecked"})
    public DeviceSettingManagerImpl(@Named("DeviceSettingMapper") BaseMapper baseMapper) {
        super(baseMapper,DeviceSetting.class,DeviceSettingMapper.class);
    }

    /*
     *
     */
    @Override
    public int insert(DeviceSetting object) {
        int recordCount = super.insert(object);
        return recordCount;
    }

}